from ste.core import *
import matplotlib.pyplot as plt
import numpy as np

if __name__ == '__main__':
	ts1 = np.loadtxt('data/pr_NY.csv')  # 降水量 # Y
	ts2 = np.loadtxt('data/tas_NY.csv')  # 温度 # X
	l = 1
	m = 3
	
	N = 20
	T = np.zeros((N-1, N-1))
	for step in range(1, N):
		for l in range(1, N):
			T[step-1][l-1] = TE(ts2, ts1, l, m, step) - TE(ts1, ts2, l, m, step)
	time_end = time.time()
	plt.plot(T_series)
	plt.show()